home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / bbs / tmg108.zip / MAGIGATE.DOC < prev    next >
Text File  |  1997-05-31  |  24KB  |  479 lines

  1.   MAGIGATE.DOC                                                       Page  1
  2.   ╒═════════════════════════════════════════════════════════════════════════╕
  3.   │             The Magic Gate version 1.08                                 │
  4.   │             Documentation  May/June '97                                 │
  5.   │             (C) Copyright 1995 - 1997 All Rights Reserved               │
  6.   │               Joseph O'Connor                                           │
  7.   ╘═════════════════════════════════════════════════════════════════════════╛
  8.  
  9.         This game may be distributed in its original, unmodified form as
  10.   long as no money is made off of it.  Please do not include the contents
  11.   of this archive in any CD, collection, or whatever without express written
  12.   permission of ME!
  13.  
  14.         Thanks for at least taking the time to look at this game.  I know
  15.   there are hundreds and thousands of On-Line games available for Bulletin
  16.   Boards these days.  Some are good, and some are not; hopefully this will
  17.   at least be one you choose to put on your own board.  Some of its features
  18.   are as follows:
  19.  
  20.   *  Designed to work in a multi-node enviornment.
  21.  
  22.   *  Easy and Powerful Configuration Program that lets you change nearly
  23.      any aspect of the game.   
  24.      
  25.   *  Works with most BBS types (DOOR.SYS, SRDOOR, DORINFOX.DEF etc.)
  26.  
  27.   *  Included Creature creater.  Allow you to create as many creatures for
  28.      each area as you want.
  29.  
  30.   *  Player editor that allows you to change any statistic of any character.
  31.  
  32.   *  Automatically weeds out inactive players after X many days.(configurable)
  33.  
  34.   *  Resurrects Dead players after X many days.(configurable)
  35.  
  36.   *  Six different character classes to choose from, each with their own
  37.      special abilities.
  38.  
  39.   *  Twenty character levels in each class with class mastering.
  40.   
  41.   *  Players can fight each other.
  42.  
  43.   *  Players can pay for a room at night to be somewhat safe.  (There is a
  44.      way to get into the room that is different for each class.)
  45.  
  46.   *  Characters have Shame and Luck characteristics which affect certain
  47.      outcomes that are random.
  48.  
  49.   *  Clans/Masters.  Each character has his own teacher that he goes to.  You
  50.      earn shame by attacking another student of your master.
  51.  
  52.   *  Guilds.  Characters can start their own "team" and build a hall where
  53.      they can stay for the night and store their gems and gold.  
  54.      
  55.   *  Guild Masters can enter the description for the inside of the guild hall.
  56.   
  57.   *  Guild Guardians. Guild halls have a guardian that anyone who wants to 
  58.      raid the guildhall must fight before they can enter.  The guardian is
  59.      upgradable by the guild master only.
  60.  
  61.   MAGIGATE.DOC                                                       Page  2
  62.   ─═════════════════════════════════════════════════════════════════════════─
  63.   More Features :
  64.  
  65.   *  Error handling and reporting in a log file.
  66.  
  67. 1.05
  68.   *  New, flexible character flags that can be added, deleted, modified
  69.      either through the scripting language or through external programming.
  70.      Allows scripts to _remember_ what you did.
  71.  
  72.   *  Scripts can now be encoded to discourage people from reading through the
  73.      code to figure out the solution to your module.
  74.  
  75.   *  Automatic patch feature. There is a slight change in the data from 1.04
  76.      to 1.05. This feature detects which version data files you have and
  77.      converts them if necessary.
  78.  
  79.   *  Improved handling on the on-line messaging system, including a frequency
  80.      for checking online messages that is sysop configurable for faster/slower
  81.      machines.
  82.  
  83.   *  Now has a chat room where you can hang out and talk to other players
  84.      online.
  85.  
  86.   *  Chat Room Combat - Duke it out with your worst enemy while all your
  87.      friends cheer you on, and see what is happening in the fight!
  88.  
  89. 1.06
  90.   *  Now with Game Random events.  Just sitting in the Town Square, a random
  91.      event could happen to you!  These events are run as a script and are
  92.      easily added to the game.
  93.  
  94.   *  Event Scheduler.  Want an event to happen at 4:00 p.m. every day?  You
  95.      can do it in the newest version!  You can set it up to be run every day,
  96.      every week, every Tuesday, etc...
  97.  
  98.   *  Creatures are now classified as a certain race.  Everything from Avians
  99.      to Zombies are here.  This is going to work in conjunction with the
  100.      modifications up and coming.  Not to worry, the new version is going to
  101.      read in your old file just fine and add the default race to it.
  102.  
  103.   *  Weapons Armor and Shield Editor added to the configuration program.
  104.  
  105. 1.07
  106.   *  Can now have more items than a sword, armor and shield.  These items
  107.      can also activate scripts based on what you do with them.
  108.      Items can be added to the game via the scripting language as well as
  109.      building up the item database.
  110.  
  111.   *  Easily install new areas using the Magicfg program.  Reads in a section
  112.      of the script or a description file and adds it to the appropriate place.
  113.  
  114.   MAGIGATE.DOC                                                       Page  3
  115.   ─═════════════════════════════════════════════════════════════════════════─
  116.   Included Files :
  117.   
  118.   The following is a list of the files contained in the current release.
  119.  
  120.   MAGIGATE.DOC          :  This wonderfully-written documentation file.
  121.   SCRIPTS.DOC           :  Documentation for creating TMG Add on scripts.
  122.   EXTERNAL.DOC          :  Documentation for creating EXternal MODules for
  123.                             TMG as well as the format of all the structures
  124.                             used in the game.
  125.   CONFIG.DOC            :  Documention on how to configure and optimize TMG.
  126.   HISTORY.DAT           :  My own scribblings on what each version added to
  127.                             the game and removed from my sanity.
  128.   REGISTER.DOC          :  How to get more out of TMG than the average user.
  129.  
  130.   MAGIGATE.EXE          :  Huzzah, the main program.
  131.   MAGIGATE.OVR          :  The other part of the main program.
  132.   MAGICFG.EXE           :  The configuration program/editor.
  133.   MAGITEXT.DAT          :  Contains the menus for the game. (no peeking!)
  134.  
  135.   EVENTS.DAT            :  The schedule for running events (See instrcutions
  136.                             within the file itself for explanation)                             
  137.   EXMODS.DAT            :  Sample file for adding EXMODS, this one will run
  138.                             the Forest of Wolves Script.     
  139.   RACES.DAT             :  Contains all the information about the races of the
  140.                             creatures in the game.
  141.  
  142.   ARMOR.SHP             :  The shop file for the armor shop in the game.
  143.   SHIELD.SHP            :  The shop file for the shield shop in the game.
  144.   WEAPON.SHP            :  Wanna guess?
  145.  
  146.   FOREST.DAT            :  Contains the creatures for the forest.
  147.   VALLEY.DAT            :  Contains the creatures for the valley.
  148.   MOUNTAIN.DAT          :  Contains the creatures for the mountain.
  149.  
  150.   FOREST.SCR            :  The Afore mentioned Forest of Wolves script example
  151.   STARTUP.SCR           :  A script file that is executed when the game is run
  152.   CONFIG.SCR            :  This is used to configure some in-game options
  153.   RANDOM.SCR            :  This is where the random events are stored
  154.  
  155.   <ITEMS DIRECTORY>     :  This is where the scripts for the items are kept.
  156.                             They are numbed 1.scr ... XXXXXX.scr
  157.   STOCKITM.SCR          :  This is the file that TMG uses to update the items
  158.                             to the current version.  It contains all items.
  159.  
  160.   And That's it for the files that come with the program!  What you don't see
  161.   there though, is a list of the files that you may eventually find on your
  162.   hard drive in the directory you UNZIP it to...  A few are as follows:
  163.  
  164.   MAGIGATE.DOC                                                       Page  4
  165.   ─═════════════════════════════════════════════════════════════════════════─
  166.   Other Game Files :
  167.  
  168.   MAGIGATE.DAT          :  This file has the startup information that the
  169.                             main EXE reads to communicate with your BBS.
  170.   MAGISTAT.DAT          :  The file with all the nifty little setup info...
  171.   MAINFLAG.DAT          :  Flag file for the main game and any scripts.
  172.  
  173.   PLAYERS.DAT           :  This one has all the player info in it. surprise!
  174.   PLAYERS.OLD           :  This has the player info too.  Used as backup.
  175.   USERXXXX.DAT          :  Mail for player XXXX.
  176.   FLAGXXXX.DAT          :  Flag file for player XXXX.
  177.   NODEXXXX.DAT          :  Messaging file for player XXXX.
  178.   INVTXXXX.DAT          :  Inventory file for player XXXX.
  179.  
  180.  
  181.   GUILDS.DAT            :  This has all the guild info in it.
  182.   GUILDS.OLD            :  This has the guilds info too.  Used as backup.
  183.   HALLXXXX.DAT          :  Guild hall description for guild XXXX.
  184.   HALLXXXX.MSG          :  The messages on the board for guild XXXX.
  185.  
  186.   DEBUG.TXT             :  ASCII text file created by TMG for logging errors
  187.                             and comments.
  188.   DEBUG.OLD             :  Debug file from yesterday.
  189.  
  190.   NEWSX.DAT             :  The news file from X days ago.
  191.   GRANK.ANS             :  ANSI guild ranking file.
  192.   GRANK.ASC             :  ASCII guild ranking file.
  193.   PRANK.ANS             :  ANSI player ranking file.
  194.   PRANK.ASC             :  ASCII player ranking file.
  195.   
  196.   And it ends there right?  Well, no, you may also find a couple other .DAT
  197.   files there if you create creatures for other realms.  Those realms are
  198.   there for expansion right now as the forest only goes up to level 7.
  199.   And after you make sure you have the above files, you should install it.
  200.   (It makes running the game that much easier).
  201.   MAGIGATE.DOC                                                       Page  5
  202.   ─═════════════════════════════════════════════════════════════════════════─
  203.   Installing the Game :
  204.  
  205.   Glad you asked.  Read these all the way though first, then go to it.
  206.   (I would hate for you to read instruction #1, then go do it and get lost
  207.   or something like that)
  208.  
  209.   STEP #1:
  210.   ─═══════════════════════════════─
  211.     (You've probably unzipped the program since you're reading this, but hey:)
  212.     Unzip to a directory on your Hard drive.  Pick a subdirectory under your
  213.     games directory or something. (c:\doors\magic would be a good one)
  214.  
  215.   STEP #2:
  216.   ─═══════════════════════════════─
  217.     Run Install.bat.  This will unarchive the rest of the files, and will
  218.     run MAGICFG.EXE.  You shouldn't have to do a whole lot here.  Select
  219.     'BBS Options' and hit enter.  Fill in SysOp name, Board name, Network
  220.     Address, Netmail Directory (even though these two aren't used yet, they
  221.     will be.), Select your BBS software/drop file type from the list, and
  222.     only change the other things if you need them.  The game runs fine with
  223.     its internal com routines, but if you're running a fossil or and extended
  224.     fossil driver, it should be set up to run that way.  Select the com port
  225.     if you must, or have it read it from the drop file (which is the best way 
  226.     it will work in a multi-node system), lock your baud rate if you wish, and
  227.     if your modem has a non-standard address or IRQ, you can change that with
  228.     the Modify Com Port Settings.
  229.  
  230.   STEP #3:
  231.   ─═══════════════════════════════─
  232.     Go into Game Options and Change whatever you want.
  233.  
  234.   STEP #4:
  235.   ─═══════════════════════════════─
  236.     Select 'Make Batch File' from the main menu.  This will create a batch
  237.     file that you can run as your command line from your BBS.  Create it with
  238.     any name and copy it to your BBS directory (or leave it there if your BBS
  239.     can execute batches in any directory).  This batch file is necessary for
  240.     the game to run external modules.
  241.  
  242.   STEP #5:
  243.   ─═══════════════════════════════─
  244.     Set up the game to run as an external program in your BBS menu system and
  245.     you are ready to go.  The command you should run should be the name of
  246.     the batch file you created in step #4 then the node number.  I.E. the
  247.     command line should get passed like 'MAGI 2' for node two.  Consult your
  248.     BBS documentation on how to pass the node number in a variable.
  249.   MAGIGATE.DOC                                                       Page  6
  250.   ─═════════════════════════════════════════════════════════════════════════─
  251.   About the 1.08 Release :
  252.  
  253.   Version 1.08 is a prettier version of 1.07 to be blunt.  There are not many
  254.   differences between the two versions.  1.08 contains better code for handling
  255.   stock items, a better editor in Magicfg, shops have been overhauled, and
  256.   now, all the stock items are included in 1 big file that generates all the
  257.   registry entries necessary for the items and writes out the scripts.  On
  258.   top of that, mobs can be made tougher or weaker on a global level to change
  259.   the difficulty of the game.  Some fabulous ANSI's by Sandy Chidester of
  260.   OutWorld Arts have been added, and messageboards work a little bit better.
  261.   I am excited as all heck about 1.08 because it is really what I wanted 1.07
  262.   to be but didn't know it at the time.  Items RULE! *sorry* =)
  263.   
  264.   ─═════════════════════════════════════════════════════════════════════════─
  265.   Running the Game :
  266.  
  267.   The Magic Gate practically runs itself.  It runs maintenance when the first
  268.   player after midnight logs on.  This takes about 5-10 seconds, not very
  269.   long at all.  I wish I could tell you more in this section, but there's
  270.   just not a whole lot to explain:
  271.  
  272.   As of version 1.06 I have added quite a few different ways that the game
  273.   can be modified and personalized.  I have decided that a new doc file needs
  274.   to explain all the little ways the game can be given a personal touch.
  275.   See CONFIG.DOC for all the information on configuring and optimizing The
  276.   Magic Gate.
  277.  
  278.   ─═════════════════════════════════════════════════════════════════════════─
  279.   Notes on the Game :
  280.   
  281.   The Magic Gate has a few command line switches you should know about, even
  282.   if you don't need them.
  283.  
  284.   /Nx    (where x is 1..255) Set the node number.  This number is overridden 
  285.          if the drop file has the node number built into it. (Good note here:
  286.          The SRDOOR file format does not contain the node number but contains
  287.          all the other useful information.)  If you want to run EXMODS or
  288.          scripts available from the other realms menu, you must pass the node
  289.          number.
  290.   /Cx    (where x is 1..4) Set the Com port number.  This is for those souls
  291.          whose BBS software does not include a com port number in the drop-
  292.          file.  The default for this is Com port 0 (local mode).
  293.   /D     Debugging mode.  This is not recommended for daily use, as it would
  294.          generate quite a large file on a daily basis, but if you have any
  295.          sort of problems, the DEBUG.TXT file is where you would want to start
  296.          looking for solutions.
  297.   /L     Play in local mode (from a DOS prompt, COM 0)
  298.   /P<drive>:\<dir>
  299.          Use <drive>:\<dir> as the drop-file path.  If this command is not
  300.          present, TMG automatically uses the one in the MAGIGATE.DAT file.
  301.   MAINT  Run TMG in the maintenance mode.  This can be done by nightly events
  302.          run at or after midnight.  This has the same effect as a character
  303.          logging on as the first person that day (news is updated, old chars
  304.          are purged, interest is given, etc)
  305.   MAGIGATE.DOC                                                       Page  7
  306.   ─═════════════════════════════════════════════════════════════════════════─
  307.   Dealing with In-Game Errors :
  308.  
  309.   Life is not perfect, computers aren't and I am definately not.  That is
  310.   why god invented the error message.  It's his way of saying "You screwed
  311.   something up"...  And these things can happen from time to time.  TMG has
  312.   its ways of trapping errors, and will tell you what happened... What you
  313.   need to know is what error it was, and what to do about it.  All errors are
  314.   reported to the debug.txt file.  (See Page 6 for a detailed list of errors.)
  315.  
  316.   ─═════════════════════════════════════════════════════════════════════════─
  317.   I get other errors :
  318.  
  319.   I don't, and neither should you, but if for some reason you do, save the
  320.   DEBUG.TXT or DEBUG.OLD, whichever has the error code in it, and drop me a
  321.   line explaining what you were doing at the time and what the error message
  322.   was.
  323.  
  324.   Problem:   It won't read my drop file.
  325.   Solution:  The game has only been tested with two different drop files,
  326.              DOOR.SYS and DOORFILE.SR.  If you can get ahold of SRDOOR.EXE 
  327.              (which comes with any game from The Solar Realms (BRE,SRE,FE)) you 
  328.              should be able to convert your doorfile into a usable one.  Also 
  329.              do this for me if you can: send me a dropfile from your BBS as 
  330.              well as the name of the file, the type of bulletin board software 
  331.              you are running etc so that I can fix the problem.
  332.   
  333.   Problem:   Running the game locks up my BBS, but I get the welcome message.
  334.   Solution:  Perhaps your time on the BBS has run out and it hasn't kicked
  335.              you off.  I'm trying to figure that one out too.
  336.  
  337.   Problem:   Running the game locks up my BBS, and I don't get anything.
  338.   Solution:  Are you running a Fossil?  Did you set it up to use fossil in
  339.              the config program?  Thats the only thing I've seen crash it with 
  340.              no output to the user.
  341.  
  342.   Problem:   I have a multi-node BBS with different sub-directories for each
  343.              node, where should I have it create the drop file?
  344.   Solution:  Have your BBS software write the drop file right in the TMG
  345.              directory.   Don't worry about it being over-written when another 
  346.              user enters.  The drop file is read only one time and never 
  347.              touched again.
  348.  
  349.   Problem:   When I try to go to 'Other Realms' it says : External Modules   
  350.              not available, why is this?   
  351.   Solution:  You are not passing the node number in the command line.  
  352.              Running the game through a created batch file, your command
  353.              line should read : 
  354.                MAGI <num>  
  355.              Where <num> is the node number the game is being run on.  Replace
  356.              MAGI with the name of the batch file you created.
  357.   MAGIGATE.DOC                                                       Page  8
  358.   ─═════════════════════════════════════════════════════════════════════════─
  359.   In-Game Error Codes and Solutions :
  360.   
  361.   Error Code :  Description :                   Solution :
  362.   ─═══════════════════════════════════════════════════════════════─
  363.   2             The MAGISTAT.DAT file probably  Delete MAGISTAT.DAT and run
  364.                 doesn't match the version of    MAGICFG.EXE to set up the
  365.                 the game.                       options anew.
  366.   
  367.   3             The PLAYERS.DAT file doesn't    As of version 1.02, TMG writes
  368.                 read the way it should or does  a backup copy of the player
  369.                 not match the version of the    file every night before maint.
  370.                 game.                           is run.  Copy PLAYERS.OLD on
  371.                                                 top of PLAYERS.DAT.
  372.   
  373.   4             One of the following files is   Extract the file/s from the
  374.                 corrupted: WEAPONS.DAT,         original archive.
  375.                 ARMORS.DAT, SHIELDS.DAT
  376.  
  377.   5             One of the non-game files is    See if the specified file is
  378.                 open, and needs to be accessed. open in another window and
  379.                                                 close it.  If not, try a reboot.
  380.  
  381.   6             The MAGISTAT.DAT file is open.  See #5 for MAGISTAT.DAT
  382.  
  383.   7             The MAGITEXT.DAT file is open.  See #5 for MAGITEXT.DAT
  384.  
  385.   8             The PLAYERS.DAT file is open.   See #5 for PLAYERS.DAT
  386.  
  387.   9             The WEAPONS.DAT file is open.   See #5 for WEAPONS.DAT
  388.  
  389.   10            The ARMORS.DAT file is open.    See #5 for ARMORS.DAT
  390.  
  391.   11            The SHIELDS.DAT file is open.   See #5 for SHIELDS.DAT
  392.  
  393.   12            TMG tried to access a file      Check your directory against
  394.                 that was not present.           the list of files above and
  395.                                                 extract the missing file from
  396.                                                 the original archive.
  397.  
  398.   13            The file activity has been      If you know nobody is in TMG,
  399.                 told to wait, and was not told  delete the HOLD.DAT file from
  400.                 to resume.                      the TMG directory.
  401.  
  402.   14            Player dropped their carrier.   Not really an error.
  403.  
  404.   15            Player ran out of time.         Not really an error.
  405.  
  406.   16            Player was booted out by the    Player must have been a putz:
  407.                 SysOp.                          delete immediately ;)
  408.   
  409.   17            Doordriver had a problem        Check your set up in MAGICFG.
  410.                 initializing.                   Chances are something is
  411.                                                 set up incorrectly.
  412.  
  413.   18            Doordriver had a bad parameter  See #17
  414.  
  415.   19            The GUILDS.DAT file has become  As of version 1.02, TMG writes
  416.                 corrupted.                      a backup copy of the guild file
  417.                                                 Copy GUILDS.OLD over GUILDS.DAT
  418.   MAGIGATE.DOC                                                       Page  9
  419.   ─═════════════════════════════════════════════════════════════════════════─
  420.   Acknowledgemnets and Thanks :
  421.  
  422.   First, I have to thank my good friends Ken and Bill for both the use of
  423.   their respective boards (Passport to Hades 810-853-6810 and P.C. Adventures
  424.   810-739-3137) and the crashes they endured in the beginnning phases of
  425.   the game, plus the ideas they've given me have helped incredibly.
  426.  
  427.   Another round of thanks goes to Sandy Chidester who provided all the ANSI
  428.   artwork for this game.  Thanks Sandy!
  429.   You can reach Sandy from her homepage for Outworld Arts at :
  430.   http://www.geocities.com/SiliconValley/Heights/9359/index.html
  431.  
  432.   I also need to mention some people who contributed to this project in a
  433.   major way without their knowledge:
  434.    
  435.    Scott Baker/Derrick Parkhurst for coming out with the original DoorDriver.
  436.    Steve Lorenz and Bob Dalton for their enhancemnets to the original package.
  437.   (Thanks guys, without your package, I probably never would have attempted
  438.   to write an on-line game.)
  439.    Bob Dalton again for his insight on trapping errors with his ELOG unit
  440.   (Even though I wrote my own, I wouldn't have known how to do it without
  441.   his unit)
  442.    Andy Stewart even though I haven't used his InterBBS unit yet, I more than
  443.   likely will!
  444.    Oddly Enough, Seth Able for giving me a goal as to how far to take the
  445.   game and taking the time to either create the `x color codes or implement
  446.   them from someone else as I have done from his example (Think we could
  447.   get enough authors doing it to standardize it?)
  448.  
  449.   ─═════════════════════════════════════════════════════════════════════════─
  450.   For the latest version :
  451.  
  452.   I now have registered my own domain name!  be sure to update your bookmarks
  453.   and your links!
  454.   The fastest way to get the latest version is to check out my web site for
  455.   The Magic Gate at
  456.  
  457.   http://www.magic-gate.com
  458.  
  459.   ─═════════════════════════════════════════════════════════════════════════─
  460.   Contacting Me :
  461.     
  462.   Hey, send your comments, your bug reports, and your criticisms and ideas
  463.   for the game to me.  Or, if you are interested in writing a module for the
  464.   game, let me know, and I will do my best to assist you in doing so.
  465.  
  466.   Couple different ways to get ahold of me.  Send email to the sysop on either
  467.   of my support BBS's
  468.  
  469.   Passport to Hades     (810)/853-6810
  470.   P.C. Adventures       (810)/739-3137
  471.  
  472.     or
  473.   send internet Email to
  474.   
  475.   joconnor@sequoianet.com
  476.   
  477.   Happy Gaming
  478.   -Wyvern
  479.